﻿<%@ Page Title="" Language="C#" MasterPageFile="~/controlasistencia/Plantilla.Master" AutoEventWireup="true" CodeBehind="UltimosAccesos.aspx.cs" Inherits="Presentacion.controlasistencia.UltimosAccesos" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script>    
        $(document).ready(function() {
            $("#tata").dataTable();
        });
    </script>
    <script>
        function sucessMessage(success) {

            Messenger.options = {
                extraClasses: 'messenger-fixed messenger-on-bottom messenger-on-right',
                theme: 'flat'
            }

            Messenger().post({
                message: success,
                type: 'success',
                showCloseButton: true
            });
        }

        function errorMessage(errorMessage) {
            Messenger.options = {
                extraClasses: 'messenger-fixed messenger-on-bottom messenger-on-right',
                theme: 'flat'
            }

            Messenger().post({
                message: errorMessage,
                type: 'error',
                showCloseButton: true
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contenido" runat="server">
    <form runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="row">
            <div class="col-lg-12">
                <div class="page-title">
                    <h2>Reporte de ultimos accesos
                        <small>
                            <asp:Label ID="lblCarrera" runat="server" Text=""></asp:Label></small>
                    </h2>
                    <ol class="breadcrumb">
                        <li><i class="fa"></i><a href="index.aspx" class="tamano-breadcrumbs">Inicio</a>
                        </li>
                        <li class="active tamano-breadcrumbs">Accesos</li>
                    </ol>
                </div>
            </div>
        </div>
        <div class="row">   
            <div class="col-lg-12">   
                <div class="col-lg-3">   
                    <p>Desde</p>
                    
                    <input type="date" name="" runat="server"  id="fechaDesde" class="form-control"/>
                </div>
                <div class="col-lg-3">
                    <p>Hasta</p>
                    <input type="date" name="" runat="server" id="fechaHasta" class="form-control"/>
                </div>
                <div class="col-lg-3">
                    <p>&nbsp</p>
                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn btn-block btn-green" OnClick="LinkButton1_Click"><i class="fa fa-refresh"></i> Generar</asp:LinkButton>

                </div>
                <div class="col-lg-3">
                </div>

            </div>
        </div>
        <p>&nbsp</p>
        <div class="row">
            <div class="col-lg-12">
                <div class="portlet portlet-green">
                    <div class="portlet-heading">
                        <div class="portlet-title">
                            <h4>REPORTE</h4>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="portlet-body">
                        <!-- begin ADVANCED TABLES ROW -->
                        <div class="row">
                            <div class="col-lg-12">
                                
                                    <div class="portlet-heading">
                                        <div class="portlet-title text-center">
                                            <h4>ACCESOS</h4>
                                        </div>
                                        <div class="clearfix"></div>
                                    </div>
                                    <div class="portlet-blue">

                                        <table class="table table-hover " id="tata">
                                            <thead>
                                                <tr>
                                                    <th class="">#</th>
                                                    <th  class="">Nombres</th>
                                                    <th  class="">Carrera</th>
                                                    <th  class="">Ultimo Acceso</th>    
                                                </tr>
                                            </thead>
                                            <tbody id="tablaAccesos" runat="server">
                                            </tbody>
                                        </table>
                                    </div>
                               
                                <!-- /.col-lg-12 -->
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
</asp:Content>
